<h2 class="contentTitle">添加视频分类</h2>
<div class="pageContent">
	
	<form method="post" action="<?php echo site_url('admin/video/add_list_post');?>" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone)">
		<div class="pageFormContent nowrap" layoutH="97">
 			<dl>
				<dt>上级分类：</dt>
				<dd>
                                        <select class="combox" name="name1" ref="w_combox_city" refUrl="<?php echo site_url('admin/video/add_video_list');?>/{value}?<?php echo rand(100,999);?>">
                                            <option value="all">根分类</option>
                                            <?php foreach($data as $item):?>
                                            <option value="<?php echo $item->tid;?>"><?php echo $item->name;?></option>
                                            <?php endforeach;;?>
                                            </select>
                                            <select class="combox" name="name2" id="w_combox_city" ref="w_combox_area" refUrl="<?php echo site_url('admin/video/add_video_list2');?>/{value}?<?php echo rand(100,999);?>">
                                                    <option value="all">根分类</option>
                                            </select>
                                            <select class="combox" name="name3" id="w_combox_area">
                                                    <option value="all">根分类</option>
                                        </select>
				</dd>
			</dl>
			<dl>
				<dt>新分类名称：</dt>
				<dd>
					<input type="text" name="newname" class="required"  />
				</dd>
			</dl>
			<dl>
				<dt>讲师：</dt>
				<dd>
					<input type="text" name="tutor" class="" alt="请输入讲师"/>
				</dd>
			</dl>
			<dl>
				<dt>价格：</dt>
				<dd>
					<input type="text" class="number textInput valid"  name="price" alt="0.00"/>
				</dd>
			</dl>
			<dl>
				<dt>简介：</dt>
				<dd>
					<input type="text" ="80" rows="2" class=""  name="summary"/>
				</dd>
			</dl>
            <dl>
				<dt>详细介绍：</dt>
				<dd>
                <textarea class="editor" name="introduction" rows="15" cols="100"></textarea>
				</dd>
			</dl>
			<div class="divider"></div>
			<p>选择上一级分类的时候   只要选择前两个即可 最后一个分类只是显示当前第二级分类的子分类参考 选择第三级分类并不会被分配到第三分类下</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>